package flex.cc.basicinformation.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import flex.cc.basicinformation.entity.ServiceProviderDataEntity;

/**
 * 权限表
 * 
 * @author guozejun
 * @email guozejun@sinosoft.com.cn
 * @date 2021-10-14 22:53:59
 */
@Mapper
public interface ServiceProviderDataDao extends BaseMapper<ServiceProviderDataEntity> {

	List<ServiceProviderDataEntity> getServiceProviderUrl(@Param("ywid")String ywid);

	void insertServiceProviderData(@Param("service")ServiceProviderDataEntity data);

	/**
	 * 
	 * @author WANGCONG
	 * 2021年10月20日下午4:05:31
	 * @desc 根据服务商Id查询接口地址信息
	 */
	List<ServiceProviderDataEntity> queryListByYwId(String servicerId);

	/**
	 * @description 根据救援商配置信息的业务id，删除对应的接口信息【2.2-服务包配置需求】
	 * @param ywid 救援商的业务id
	 * @return
	 * @author wkangle
	 * @time 2022-02-25 13:28:11
	 * @exception/throws
	 */
	int deleteByYwid(String ywid);

 
}
